/**
 * 
 */
package org.cuatrovientos.javakart;

/**
 * @author daniel_ancin
 *
 */
public class Circuit {
	private String name;
	private int position;

	/**
	 * constructor
	 * @param name
	 *	@param position 
	 */
	public Circuit(String name, int position) {
		this.name = name;
		this.position = position;
	}
		
	/**
	 * 
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * 
	 * @return the position
	 */
	public int getPosition() {
		return position;
	}



	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Circuit [name=" + name + ", position=" + position + "]";
	}
	

}
